#ifndef _FILE_ENCRYPT_AES_H_
#define _FILE_ENCRYPT_AES_H_
#include "aestable.h"
#include "IFileStream.h"
class CEncryptAES:
	public IEncrypt
{
public:
	CEncryptAES(void);
	virtual bool Encrypt( char * pData,unsigned int nSize );
	virtual bool DeEncrypt( char * pData,unsigned int nSize );
public:
	virtual ~CEncryptAES(void);
protected:
	char * _GetCryptBuffer(unsigned int  nSize);
private:
	unsigned int m_nBufferSize;
	char * m_pBuffer;
	static unsigned char m_pKey[16];
	static unsigned char m_pexpkey[4 * Nb * (Nr + 1)];
};
#endif





